
function useState<T>(initialState: T): [T, (newState: T) => void] {
  let state = initialState
  function setState(newState) {
    state = newState
  }
  return [state, setState]
}

const [count, setCount] = useState(100)
const [message, setMessage] = useState<string>("Hello World")
const [banners, setBanners] = useState<any[]>(["abc", "cba", "nba"])

export { }